package domain.items;

import interfaces.GUIVisited;
import interfaces.GUIVisitor;
import java.util.Vector;



public class TopicPacket extends Item implements GUIVisited {

	/**
	 * keeps the sub items under this topic.
	 */
	private Vector<String> _subItems;

	/**
	 * Constructor.
	 * @param father
	 */
	public TopicPacket() {
		super(null);
		this._subItems = new Vector<String>();
		this._type = Item.PACKET;
	}

	/**
	 * getters.
	 */
	public Vector<String> getSubItems(){
		return this._subItems;
	}

	@Override
	public void accept(GUIVisitor visitor) {
		visitor.createItemsView(this);
	}

}